/*
 * PGen.h
 *
 *  Created on: Jan 25, 2012
 *      Author: The Almighty Eric
 */

#ifndef PGEN_H
#define PGEN_H

#include "Particle.h"
#include <list>

class PGen
{
public:
	float freq;
	int x, y, w, h;
	Particle p;
	int numperint;
	std::list<Particle> parts;

	//PGen(int x, int y, int w, int h, float freq, int n, Particle p);
	void generate();
	void update(Uint32 ticks);
	void updatecoords(int x, int y);
};


#endif /* PGEN_H_ */
